<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
 session_start();
 include("../main/function.php");
 include("../main/ShowPage.class.php");
 include("../main/islogin.php");
 $db=new Db();
 $Did=$_GET['Id'];
 
 	$db->query("DELETE FROM teacher WHERE id=$Did");
 	echo '<script>alert("删除成功");history.back()</script>';

?>